package org.eleorc.ioc.classpathscanning;

import org.springframework.stereotype.Service;

@Service
public class SimpleMovieLister {
    private MovieFinder movieFinder;

    public SimpleMovieLister(MovieFinder movieFinder) {
        this.movieFinder = movieFinder;
    }

    public void find(){
        movieFinder.findmovie();
    }
}
